<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGRv2: model/dgr-sink.cc File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DGRv2<span id="projectnumber">&#160;2-dev</span>
   </div>
   <div id="projectbrief">A Delay-Guaranteed Routing Protocol model in ns-3</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('d3/d89/dgr-sink_8cc.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle"><div class="title">dgr-sink.cc File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;iostream&gt;</code><br />
<code>#include &quot;ns3/address.h&quot;</code><br />
<code>#include &quot;ns3/address-utils.h&quot;</code><br />
<code>#include &quot;ns3/log.h&quot;</code><br />
<code>#include &quot;ns3/inet-socket-address.h&quot;</code><br />
<code>#include &quot;ns3/inet6-socket-address.h&quot;</code><br />
<code>#include &quot;ns3/node.h&quot;</code><br />
<code>#include &quot;ns3/socket.h&quot;</code><br />
<code>#include &quot;ns3/udp-socket.h&quot;</code><br />
<code>#include &quot;ns3/simulator.h&quot;</code><br />
<code>#include &quot;ns3/socket-factory.h&quot;</code><br />
<code>#include &quot;ns3/packet.h&quot;</code><br />
<code>#include &quot;ns3/trace-source-accessor.h&quot;</code><br />
<code>#include &quot;ns3/udp-socket-factory.h&quot;</code><br />
<code>#include &quot;ns3/boolean.h&quot;</code><br />
<code>#include &quot;<a class="el" href="../../df/d56/dgr-sink_8h_source.html">dgr-sink.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../dc/ded/dgr-tags_8h_source.html">dgr-tags.h</a>&quot;</code><br />
</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Include dependency graph for dgr-sink.cc:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d0/df3/dgr-sink_8cc__incl.png" border="0" usemap="#amodel_2dgr-sink_8cc" alt=""/></div>
<map name="amodel_2dgr-sink_8cc" id="amodel_2dgr-sink_8cc">
<area shape="rect" title=" " alt="" coords="1260,5,1399,31"/>
<area shape="rect" title=" " alt="" coords="347,79,427,104"/>
<area shape="poly" title=" " alt="" coords="1260,24,910,40,679,56,446,81,441,82,440,77,445,76,679,51,909,34,1260,18"/>
<area shape="rect" title=" " alt="" coords="5,152,117,177"/>
<area shape="poly" title=" " alt="" coords="1260,23,1085,27,860,37,641,54,551,66,484,81,462,93,440,106,357,130,289,140,220,145,131,155,130,149,219,139,289,134,356,125,438,102,459,89,482,76,550,61,640,49,859,31,1085,22,1260,18"/>
<area shape="rect" title=" " alt="" coords="663,79,809,104"/>
<area shape="poly" title=" " alt="" coords="1260,30,822,81,822,76,1259,24"/>
<area shape="rect" title=" " alt="" coords="833,79,914,104"/>
<area shape="poly" title=" " alt="" coords="1260,31,1112,52,928,81,927,76,1111,46,1259,26"/>
<area shape="rect" title=" " alt="" coords="141,152,331,177"/>
<area shape="poly" title=" " alt="" coords="1260,24,888,42,686,59,603,69,541,81,512,93,484,106,394,132,311,152,310,147,393,127,482,102,510,88,539,76,603,64,686,54,888,37,1260,19"/>
<area shape="rect" title=" " alt="" coords="939,79,1136,104"/>
<area shape="poly" title=" " alt="" coords="1283,33,1098,78,1097,73,1282,28"/>
<area shape="rect" title=" " alt="" coords="1160,79,1253,104"/>
<area shape="poly" title=" " alt="" coords="1311,33,1240,74,1237,69,1308,28"/>
<area shape="rect" title=" " alt="" coords="1278,79,1381,104"/>
<area shape="poly" title=" " alt="" coords="1332,31,1332,65,1327,65,1327,31"/>
<area shape="rect" title=" " alt="" coords="1405,79,1537,104"/>
<area shape="poly" title=" " alt="" coords="1353,28,1437,70,1434,75,1351,33"/>
<area shape="rect" title=" " alt="" coords="1561,79,1684,104"/>
<area shape="poly" title=" " alt="" coords="1377,28,1563,73,1561,78,1376,33"/>
<area shape="rect" title=" " alt="" coords="1708,79,1860,104"/>
<area shape="poly" title=" " alt="" coords="1399,28,1698,74,1697,79,1398,33"/>
<area shape="rect" title=" " alt="" coords="1748,152,1852,177"/>
<area shape="poly" title=" " alt="" coords="1399,19,1528,26,1676,37,1805,53,1849,64,1874,77,1880,86,1881,96,1873,115,1856,132,1835,147,1832,143,1852,128,1868,112,1876,96,1875,88,1870,81,1848,69,1804,59,1676,42,1527,31,1399,25"/>
<area shape="rect" title=" " alt="" coords="2047,79,2249,104"/>
<area shape="poly" title=" " alt="" coords="1399,22,2033,76,2032,81,1399,27"/>
<area shape="rect" title=" " alt="" coords="2273,79,2455,104"/>
<area shape="poly" title=" " alt="" coords="1399,20,1763,40,2260,76,2259,81,1763,45,1399,25"/>
<area shape="rect" title=" " alt="" coords="2479,79,2593,104"/>
<area shape="poly" title=" " alt="" coords="1399,18,1582,22,1844,32,2150,49,2466,76,2466,81,2150,54,1843,37,1582,27,1399,23"/>
<area shape="rect" href="../../df/d56/dgr-sink_8h.html" title=" " alt="" coords="553,79,639,104"/>
<area shape="poly" title=" " alt="" coords="1260,25,997,43,828,59,653,81,652,76,827,54,997,38,1259,20"/>
<area shape="rect" href="../../dc/ded/dgr-tags_8h.html" title=" " alt="" coords="1935,79,2023,104"/>
<area shape="poly" title=" " alt="" coords="1399,22,1629,42,1916,76,1922,77,1921,82,1916,81,1629,48,1399,27"/>
<area shape="poly" title=" " alt="" coords="552,100,373,122,131,155,130,149,372,117,552,95"/>
<area shape="poly" title=" " alt="" coords="553,104,308,152,307,147,552,99"/>
<area shape="rect" title=" " alt="" coords="355,152,488,177"/>
<area shape="poly" title=" " alt="" coords="569,106,464,149,462,144,567,102"/>
<area shape="rect" title=" " alt="" coords="512,152,680,177"/>
<area shape="poly" title=" " alt="" coords="599,104,599,138,593,138,593,104"/>
<area shape="rect" title=" " alt="" coords="704,152,819,177"/>
<area shape="poly" title=" " alt="" coords="624,102,723,144,721,149,622,106"/>
<area shape="rect" title=" " alt="" coords="843,152,922,177"/>
<area shape="poly" title=" " alt="" coords="640,101,830,148,829,153,639,106"/>
<area shape="rect" title=" " alt="" coords="946,152,1107,177"/>
<area shape="poly" title=" " alt="" coords="640,99,651,101,935,147,934,153,650,107,639,105"/>
<area shape="rect" title=" " alt="" coords="1132,152,1313,177"/>
<area shape="poly" title=" " alt="" coords="640,99,651,101,780,119,882,129,1119,149,1118,155,881,134,779,124,650,107,639,105"/>
<area shape="rect" title=" " alt="" coords="1338,152,1462,177"/>
<area shape="poly" title=" " alt="" coords="640,100,651,101,838,121,985,128,1134,134,1324,149,1324,155,1134,139,985,134,837,127,650,107,639,105"/>
<area shape="poly" title=" " alt="" coords="1951,107,1843,149,1841,144,1949,102"/>
<area shape="rect" title=" " alt="" coords="2074,152,2217,177"/>
<area shape="poly" title=" " alt="" coords="2006,102,2107,144,2105,149,2004,106"/>
<area shape="rect" title=" " alt="" coords="2241,152,2324,177"/>
<area shape="poly" title=" " alt="" coords="2023,100,2228,148,2227,153,2022,106"/>
<area shape="rect" title=" " alt="" coords="1876,152,1983,177"/>
<area shape="poly" title=" " alt="" coords="1973,106,1947,142,1943,139,1968,103"/>
<area shape="rect" title=" " alt="" coords="2007,152,2049,177"/>
<area shape="poly" title=" " alt="" coords="1989,103,2014,139,2010,142,1985,106"/>
</map>
</div>
</div>
<p><a href="../../d3/d89/dgr-sink_8cc_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:d7/d2e/namespacens3"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d2e/namespacens3.html">ns3</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ac421339233bccbe265fc1da41d6c6350"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d2e/namespacens3.html#ac421339233bccbe265fc1da41d6c6350">ns3::NS_LOG_COMPONENT_DEFINE</a> (&quot;DGRPacketSink&quot;)</td></tr>
<tr class="separator:ac421339233bccbe265fc1da41d6c6350"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95e6077e86dcfe6f92a14f44dc7fb85f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d2e/namespacens3.html#a95e6077e86dcfe6f92a14f44dc7fb85f">ns3::NS_OBJECT_ENSURE_REGISTERED</a> (<a class="el" href="../../dc/d11/classns3_1_1_d_g_r_packet_sink.html">DGRPacketSink</a>)</td></tr>
<tr class="separator:a95e6077e86dcfe6f92a14f44dc7fb85f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:aa5e169e2453984d2f21c0d5cec9e907b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d2e/namespacens3.html#aa5e169e2453984d2f21c0d5cec9e907b">ns3::i</a> = 0</td></tr>
<tr class="separator:aa5e169e2453984d2f21c0d5cec9e907b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_3f14f6767c31cb4a1d22c13c18cc6fc3.html">model</a></li><li class="navelem"><a class="el" href="../../d3/d89/dgr-sink_8cc.html">dgr-sink.cc</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
  </ul>
</div>
</body>
</html>
